import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

    public class Main1 {
        public static void main(String[] args) throws IOException {
            File f = new File("D:\\java测试\\a.txt");
            FileWriter fw =new FileWriter(f);
            fw.write("io,你弄啥类");
            fw.close();

        }
    }


